package com.yangle.shell.dao;

import com.yangle.shell.bean.OrderMaster;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Author: yangle
 * Create Data: 2020/12/4
 */
public interface OrderMasterRepository extends JpaRepository<OrderMaster,String> {
    /**通过微信id查询订单,进行分页 */
    Page<OrderMaster> findByBuyerOpenid(String buyerOpenId, Pageable page);
}
